<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Admin/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<mesoBoard.Data.Group>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <fieldset>
        <legend><%= Html.ThemeImage("add.png")%> Create Group</legend>
        
        <% using(Html.BeginForm()){ %>
            <dl class="form">
                <dt>Title</dt>
                <dd>
                    <%= Html.TextBox("Name")%>
                    <%= Html.ValidationMessage("Name")%>
                </dd>
                
                <dt>PImage</dt>
                <dd>
                    <%= Html.TextBox("Image")%>
                    <%= Html.ValidationMessage("Image")%>
                </dd>
                
                <dt>Permissions</dt>
                <dd>
                    <%= Html.DropDownList("ForumPermissionID") %>
                    <%= Html.ValidationMessage("ForumPermissionID")%>
                </dd>
                
                <dt>Color</dt>
                <dd>
                    <%= Html.TextBox("Color")%>
                    <%= Html.ValidationMessage("Color")%>
                </dd>
                                                                              
                <dt>&nbsp;</dt>
                <dd>
                    <%= Html.SubmitButton("CreateGroup", "Create Group") %>
                </dd>
            </dl>
        <% } %>
    </fieldset>

</asp:Content>
